
function prompt_nice_setup {
if `fancyTerm`; then
    title="::: %n at %m in %. :::"
    icon="%m::%."
    prompt_='$FX[bold]$FX[italic]$BG[062]@%m::%2~$FX[reset]
$FX[bold]$(repo_char)$FG[220]%#$FX[reset] '

    PS1="%{]2;$title%}%{]1;$icon%}$prompt_"
    unset title icon prompt_

else
    # We are not on xterminal
    PS1='%B%K{blue}%F{white}[%l] $(repo_char)%n@%m:%~ %f%k%F{yellow}%#%f%b '
fi
}

prompt_nice_setup

#  vim: set ts=4 sw=4 tw=0 ft=zsh : 
